Skip to content

Commit

Permalink
Init projet DSFR ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaine committed Nov 27, 2023
0 parents commit dfea0f7
Show file tree
Hide file tree
Showing 22 changed files with 9,970 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
max_line_length = 140
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
49 changes: 49 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
extends: [
'standard',
'plugin:vue/vue3-recommended',
'@nuxtjs/eslint-config-typescript',
],
rules: {
'jsx-quotes': [2, 'prefer-double'],
'comma-dangle': [2, 'always-multiline'],
'vue/no-multiple-template-root': 'off',
'vue/max-attributes-per-line': ['error', {
singleline: 1,
multiline: 1,
}],
},
overrides: [
{
files: [
'cypress/support/*.{js,ts,jsx,tsx}',
'cypress/integration/*.{spec,e2e}.{js,ts,jsx,tsx}',
'src/**/*.ct.{js,ts,jsx,tsx}',
],
extends: [
'plugin:cypress/recommended',
],
},
{
files: [
'client/**/*.{spec,test}.{js,ts,jsx,tsx}',
],
env: {
jest: true,
},
},
{
files: [
'client/pages/**/*.vue',
'client/layouts/**/*.vue',
],
rules: {
'vue/multi-word-component-names': 'off',
},
},
],
}
Loading

0 comments on commit dfea0f7

Please sign in to comment.